﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using BioWCF;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                Console.WriteLine("Console Based WCF Host");
                using (ServiceHost serviceHost = new ServiceHost(typeof(BioService)))
                {
                    serviceHost.Open();
                    Console.WriteLine("The service is ready.");
                    Console.WriteLine("Press the Enter key to terminate service.");
                    Console.ReadLine();
                }
            }
            catch (Exception)
            {
                
                throw;
            }
        }
    }
}
